<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<%@taglib uri="/WEB-INF/tld/pageutil.tld" prefix="pu"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<c-rt:set var="workFlow" value="${pu:get('com.yaodian100.crm.workflow.entity.WorkFlow', param.name)}"/>

<form method="post" id="theForm" name="theForm">

<table class="tb-data" width="100%">
<tr><th width="130px">名称</th><td>${workFlow.name}</td></tr>
<tr><th width="130px">描述</th><td>${workFlow.description }</td></tr>
<tr><th width="130px">返回主单</th><td>${workFlow.mustReturnMaster }</td></tr>
	<tr>
	<th></th><td><input type="button" id="submit_button" onclick="doAR('<%=application.getContextPath() %>/workFlow/page.do?iamlazy=toUpdateFlow&name=${workFlow.name}', 'rightSide')" value="编辑"/>
	<input type="button" id="submit_button" onclick="doAR('<%=application.getContextPath() %>/workFlow/page.do?iamlazy=toUpdate&workFlowName=${workFlow.name}&parentId=', 'rightSide')" value="新增子节点"/>
	<input type="button" id="submit_button" onclick="if(confirm('are your sure?'))doAR('<%=application.getContextPath() %>/workFlow/deleteFlow.do?name=${workFlow.name}&focused=theFlowTree', 'main')" value="删除"/>
	</td>
	</tr>
	
	</table>
</form>

